import Vue from 'vue'
import App from './App'
import './uni.promisify.adaptor'
import uView from "uview-ui";
Vue.config.productionTip = false

App.mpType = 'app'

Vue.use(uView);
const app = new Vue({
  ...App
})
// 引入请求封装，将app参数传递到配置中
require('/src/services/request.js')(app)
//引入接口
import api from "@/api/index.js";
Vue.use(api, app);
//判断是否登录接口
import auth from "@/services/auth.js";
Vue.use(auth, app);
app.$mount()
